-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend improvements - BREAKING CHANGES #178
Conversation
uh i realise that nix however is this: you need a MANIFEST.in |
also: does installing this in editable mode actually work currently? there's no setup.py, and i thought that shouldn't actually work yet: https://setuptools.pypa.io/en/latest/setuptools.html#setup-cfg-only-projects, https://www.python.org/dev/peps/pep-0660/, pypa/pip#8212 adding a setup.py that looks like this is required for me to install it on nix: from setuptools import setup
setup() |
ok ugh |
Uh I just ran pip install --upgrade pip and it works without a setup.py
…On Tue, 28 Sep 2021, 5:42 pm ash, ***@***.***> wrote:
ok ugh
i think the way to solve this is ultimately gonna be to put the templates
directory inside hacksoc_org, then stick recursive-include
hacksoc_org/templates or similar in a MANIFEST.in
(but i do not know for sure and i don't have brain or really ability to
test it, sorry)
python packaging: it is Bad
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#178 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2N5UY4XIHOWUTK5TQOWK3UEHWADANCNFSM5E5BHARQ>
.
|
For developmentThis works fine with For productionIn the future, it could be desirable to run |
Headline feature of this PR is moving from the
flask
CLI interface to a newhacksoc_org
one, provided by cli.py andargparse
. Having full control over the CLI will allow arguments to be passed during development; chiefly being able to control the markdown implementation as we explore alternatives to the non-commonmark-compliantmarkdown2
.Other features include:
build_datetime()
global function to display the datetime at build-timeTODO
Testing and migration notes
Recommended to:
pip install --upgrade pip
)pip install -e .
)